# 使用openjdk8的镜像
FROM openjdk:8-jdk-alpine
# 设置工作目录
WORKDIR /opt/mqtt
# 执行发布命令
ADD  mqtt-1.0.0.jar /opt/mqtt/app.jar
ENTRYPOINT ["java", "-jar","-Duser.timezone=GMT+08","/opt/mqtt/app.jar"]